package com.dhcc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dhcc.entity.InstitutionRoleDepartmentPosition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InstitutionRoleDepartmentPositionMapper extends BaseMapper<InstitutionRoleDepartmentPosition> {
    List<String> getResourceIds(String institutionId, String institutionRoleId, String departmentId, String positionId);

    List<String> getDepartmentIds(String institutionId, String institutionRoleId);

    List<String> getPositionIds(String institutionId, String institutionRoleId, String departmentId);

    Integer addData(String institutionId, String institutionRoleId, String departmentId, String positionId,String resourceId);

    Integer deleteData(String institutionId, String institutionRoleId, String departmentId, String positionId,String resourceId);

    Integer delData(String institutionId, String institutionRoleId, String departmentId, String positionId);
}
